package java04;

interface A{
    void m1();
}
interface B{
    void m2();
}
class C implements A,B{
    public void m1(){
        System.out.println("123");
    }
    public void m2(){
        System.out.println("456");
    }
}
public class InterfaceTest02 {
    public static void main(String[] args){
        C c = new C();
        c.m2();
        c.m1();
    }
}
